package com.kakarote.hrm;

import com.alicp.jetcache.anno.config.EnableMethodCache;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author huangmingbo
 */
@SpringBootApplication
@EnableAutoDataSourceProxy
@EnableDiscoveryClient
@MapperScan(basePackages = "com.kakarote.hrm.mapper")
@EnableMethodCache(basePackages = "com.kakarote.hrm", order = -9999)
public class HrmApplication {

    public static void main(String[] args) {
        SpringApplication.run(HrmApplication.class, args);
    }
}
